#include <iostream>
using namespace std;

//void swap(int& x, int& y)
//{
//	int tmp = x;
//	x = y;
//	y = tmp;
//}
//
//void swap(double& x, double& y)
//{
//	double tmp = x;
//	x = y;
//	y = tmp;
//}

template<class T>
void Swap(T& x, T& y)
{
	T tmp = x;
	x = y;
	y = tmp;
}

template<class T1,class T2>
void func1(const T1& x, const T2& y)
{

}
int main()
{
	int x = 1, y = 6;
	double n = 1.1, m = 5.3;
	Swap(x, y);
	func1(x, m);
	return 0;
}